package com.xjscrm.server.mapper;

import com.xjscrm.common.entity.GroupSendJobDevice;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface GroupSendJobDeviceMapper {
    int deleteById(@Param("id") Long id);

    int insert(GroupSendJobDevice record);

    int insertSelective(GroupSendJobDevice record);

    GroupSendJobDevice selectById(@Param("id") Long id);

    List<GroupSendJobDevice> selectByJobId(@Param("jobId") Long jobId, @Param("merId") Long merId);

    int updateByIdSelective(GroupSendJobDevice record);

    int updateById(GroupSendJobDevice record);

    int updateDelaySnapshotById(GroupSendJobDevice record);

}